<style type="text/css">
@media print {
    #header-container,#hmenu-container,#banner,#breadcrumb,.groupmenu,
    .btn-print, #footer-container,.social-share,.addthis_native_toolbox {
        display: none;
    }
    .content-article {
        width: 100%;
        margin: 0;
        padding: 10px;
        font-family: inherit;
        font-size: 170%;
        font-style: inherit;
        font-weight: inherit;
        vertical-align: baseline;
        line-height: 25px;
    } 
}
</style>
<?php
$article_class = '';
if($lang == 'kh')
{
    echo '<div class="content">';
    if($page['segment']!='index'){
        $this->load->view('site/socialshare');
        //$this->load->view('site/emailshare');
    }
    if(isset($groupmenu) && count($groupmenu)){
        $this->load->view('site/groupmenu');
        $article_class = 'content-article'; 
    }
        echo '<div class="'.$article_class.'">';
        if($page['isshow_title']==1){
            echo '<h1 class="htitle">'.$page['title'];
            echo '<img src="'.base_url().'media/site/css/images/icon-help.png" title="page title" />';
            echo '</h1>';
        }
            echo $page['htmlcontentkh'];
        echo '</div>';
    echo '</div>';
}
else
{
    if($pagename == 'index'){
        $this->load->view('site/home');
    }else{
    echo '<div class="content">';
    $this->load->view('site/socialshare');
    //$this->load->view('site/emailshare');
        if(isset($groupmenu) && count($groupmenu)){
            $this->load->view('site/groupmenu');
            $article_class = 'content-article'; 
        }
            echo '<div class="'.$article_class.'">';
            if($page['isshow_title']==1){
                echo '<h1 class="htitle">'.$page['title'];
                echo '<img src="'.base_url().'media/site/css/images/icon-help.png" title="page title" />';
                echo '</h1>';
            }
                echo $page['htmlcontent'];
            echo '</div>';    
        echo '</div>';
    }
}

?>